const math=require('./demo3')
console.log(math.a);//4
console.log(math.b);//{ a: 1, b: 2, c: { d: 4 } }
math.a=5
console.log(math.a);//5
math.b.c.d=78
console.log(math.b);//{ a: 1, b: 2, c: { d: 78 } }
console.log(math);

const gg=[1,2,3,4]


function getSomething(){
  return 'getSomething'
}
async function testAsync(){
  return Promise.resolve('hello async')
}
async function test(){
  const v1 =await getSomething();//getSomething
  const v2=await testAsync();//hello async
  console.log(v1,v2);
  return '惠妹'
}
test().then(res=>{
  console.log(res);
})